﻿namespace leapYear
{
    internal class Program
    {
        static void Main(string[] args)
        {
            int year;
            year = Convert.ToInt32(Console.ReadLine());
            if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0)
                Console.WriteLine("yes");
            else
                Console.WriteLine("no");
        }
    }
}